package com.zeh.billing.service;

import com.zeh.billing.config.CommonResult;
import com.zeh.billing.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zeh.billing.entity.AdminDto;
import com.zeh.billing.entity.LoginDo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zeh
 * @since 2021-08-20
 */

public interface AdminService extends IService<Admin> {

    CommonResult login(LoginDo admin);

    CommonResult register(AdminDto admin);
}
